﻿
namespace LS.Nc6.Core
{
    public class TextSerchServiceComponent : IServiceComponent
    {
        public void Load(IServiceCollection services, ComponentContext componentContext)
        {
            //Log.Information(System.IO.Path.Combine(Directory.GetCurrentDirectory(), "BadWord.txt"));
            TextSearchProvider.Instance.SetKeys(System.IO.Path.Combine(Directory.GetCurrentDirectory(), "BadWord.txt"));
        }
    }
}
